//
// Created by 郝羽 on 2018/6/25.
//

#include "clock.hpp"

uint64_t epochMs(const Clock::time_point& time) {
    return std::chrono::duration_cast<std::chrono::milliseconds>(time.time_since_epoch()).count();
}